From b2d663c7ab8f4cc4c5805f9a4f565476467b45fa Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 19 Nov 2011 19:09:10 +0800 Subject: [PATCH] * window.c (Fwindow_combination_limit): Make first arg non-optional since it is meaningless for live windows like the selected window. --- src/ChangeLog | 6 ++++++ src/window.c | 6 +----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 798ef1d0a03..b33142ddfd2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2011-11-18 Chong Yidong + + * window.c (Fwindow_combination_limit): Make first argument + non-optional, since it is meaningless for live windows like the + selected window. + 2011-11-18 Dmitry Antipov * keymap.c (Fwhere_is_internal): Add missing RETURN_UNGCPROs. diff --git a/src/window.c b/src/window.c index 641f7a397a4..ae0c7431f74 100644 --- a/src/window.c +++ b/src/window.c @@ -465,10 +465,8 @@ Return nil if WINDOW has no previous sibling. */) return decode_any_window (window)->prev; } -DEFUN ("window-combination-limit", Fwindow_combination_limit, Swindow_combination_limit, 0, 1, 0, +DEFUN ("window-combination-limit", Fwindow_combination_limit, Swindow_combination_limit, 1, 1, 0, doc: /* Return combination limit of window WINDOW. -If WINDOW is omitted or nil, it defaults to the selected window. - If the return value is nil, child windows of WINDOW can be recombined with WINDOW's siblings. A return value of t means that child windows of WINDOW are never \(re-)combined with WINDOW's siblings. */) @@ -479,8 +477,6 @@ WINDOW are never \(re-)combined with WINDOW's siblings. */) DEFUN ("set-window-combination-limit", Fset_window_combination_limit, Sset_window_combination_limit, 2, 2, 0, doc: /* Set combination limit of window WINDOW to STATUS; return STATUS. -If WINDOW is omitted or nil, it defaults to the selected window. - If STATUS is nil, child windows of WINDOW can be recombined with WINDOW's siblings. STATUS t means that child windows of WINDOW are never \(re-)combined with WINDOW's siblings. Other values are reserved -- 2.30.2